﻿using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WPS.SDK.model.yunfile
{
    /// <summary>
    /// 文件下载链接
    /// </summary>
    public class FileDownloadUrl
    {
        public long result;
        public string url;
        public static FileDownloadUrl fromJsonObject(JObject jsonObject)
        {
            FileDownloadUrl fileDownloadUrl = new FileDownloadUrl();
            fileDownloadUrl.result = Convert.ToInt64(jsonObject["result"]);
            fileDownloadUrl.url = jsonObject["url"].ToString();
            return fileDownloadUrl;
        }
    }
}
